package Hxw3DEngine.core.materials.shader.filters 
{
	import flash.utils.ByteArray;
	import Hxw3DEngine.core.materials.shader.utils.VcRegisterLabel;
	
	/**
	 * ...
	 * @author lighter
	 */
	public class SkeletonFilterBase extends Filter3D 
	{
		public static const MAX_QUAT_BONE:int = 56;
		public static const MAX_MATRIX34_BONE:int = 34;
		
		protected var boneLabel : VcRegisterLabel;
		
		public function SkeletonFilterBase(_name:String) {
			super(_name);
			this.priority = 1000;
			this.boneLabel = new VcRegisterLabel(null);
		}
		
		
		/**
		 * 骨骼数据 
		 * @param bytes
		 * 
		 */		
		public function setBoneData(bytes : ByteArray, length:int) : void {
			this.boneLabel.setBytes(bytes,length);
		}		
		
	}

}